export default{
  // 登录框显示关闭
  HANDLE_LOGIN_POPUP_SHOW(state, boo) {
    state.loginPopupShow = boo;
  },
  // 控制聊天框的显示关闭
  HANDLE_CHAT_POPUP_SHOW(state, boo) {
    state.chatPopupShow = boo;
  },
  // 拿到用户最新发送的消息
  HANDLE_NEW_MESSAGE(state, text) {
    state.newMessage = text;
  },
}